import java.util.Random;
import java.util.Scanner;
public class pp31
{
   public static void main (String[] args)
    {
       String name,familyname;
       Scanner scan = new Scanner (System.in);

       Random generator = new Random ();
       int num;

       System.out.println ("Enter your name: ");
       name = scan.nextLine();
       name = name.substring(0,1);

       System.out.println ("Enter your famliy name: ");
       familyname = scan.nextLine();
       familyname = familyname.substring(0,5);

       num = generator.nextInt(99) + 10;
       System.out.println ("Username: " + name + familyname + num);
     }
} 
